#define _CRT_SECURE_NO_WARNINGS 1
#include "stdio.h"
main()
{
	int i = 5;
	void print(int n);
	print(i);
	printf("\n");
}
void print(int n)
{
	char ch;
	if(n<=1)
	{
		ch = getchar();
		printf("\n");
	  putchar(ch); }
	else {
		ch = getchar();
		print(n - 1);
			putchar(ch);
	}
}
